<?php
	/* 购物车 */
use think\Model;
	class Carts extends Model{

        public function getlist()
        {
            return $this->group('form_number')->order('ftime desc')->select();
        }
        public function geteditPage()
        {
            return $this->find($_GET['id']);
        }

        public function getFdetails($where)
        {
            return $this->where()->select();
        }

        public function getnforms($where)
        {
            return $this->where()->group('form_number')->select();
        }

	}